<script>
declare module 'vue' {
    import { DefineComponent } from 'vue';
    const Screen: DefineComponent<{}, {}, {}>;
    export default Screen;
}
</script>

<template>
    <div>
        <div class="screen-header">
            <div class="screen-header-item">
                <div class="screen-header-item-title">行政区</div>
                <div class="screen-header-item-value">成都市</div>
            </div>
            <div class="screen-header-item">
                <div class="screen-header-item-title">日期</div>
                <div class="screen-header-item-value">2022-12-29</div>
            </div>
        </div>
        <div class="screen-body">
            <div class="screen-body-item">
                <div class="screen-body-item-title">新增确诊</div>
                <div class="screen-body-item-value">3</div>
            </div>
            <div class="screen-body-item">
                <div class="screen-body-item-title">累计确诊</div>
                <div class="screen-body-item-value">123</div>
            </div>
            <div class="screen-body-item">
                <div class="screen-body-item-title">新增疑似</div>
                <div class="screen-body-item-value">2</div>
            </div>
            <div class="screen-body-item">
                <div class="screen-body-item-title">累计疑似</div>
                <div class="screen-body-item-value">456</div>
            </div>
        </div>
    </div>
</template>

<style scoped lang="less">
.screen-header {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background-color: #f5f5f5;
}

.screen-header-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.screen-header-item-title {
    font-size: 14px;
    color: #666;
}

.screen-header-item-value {
    font-size: 16px;
    font-weight: bold;
}

.screen-body {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
}

.screen-body-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25%;
    margin-bottom: 10px;
}

.screen-body-item-title {
    font-size: 14px;
    color: #666;
}

.screen-body-item-value {
    font-size: 18px;
    font-weight: bold;
}
</style>
